<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="./css/switch.css">
</head>
<body>
  <script src="./js/switch.js"></script>
  <!-- 开关 -->
  <div class="switch">
    <div class="knob">
      <img src="./img/iconfinder_icon_animal_pato_3316547.png" alt="旋钮">
    </div>
  </div>
</body>
</html>